package net.esj.basic.service;

import java.util.List;
import java.util.Map;

import net.esj.basic.utils.Pagination;

@Deprecated
public interface QueryMapService {

	<T> Pagination<T> queryPageByMap(Pagination<T> page, Class<T> tclass);

	public List queryListByMap(Map<String, Object> query, Class<?> tclass);

	public List queryTopByMap(Map<String, Object> query, Class<?> tclass, int count);

	public int queryCountByMap(Map<String, Object> query, Class<?> tclass);
}
